import request from '@/utils/request'

// 查询超速次数统计列表
export function listCscstj(query) {
  return request({
    url: '/tjbb/bjcx/cscstj/list',
    method: 'get',
    params: query
  })
}

// 查询超速次数统计详细
export function getCscstj(id) {
  return request({
    url: '/tjbb/bjcx/cscstj/' + id,
    method: 'get'
  })
}

// 新增超速次数统计
export function addCscstj(data) {
  return request({
    url: '/tjbb/bjcx/cscstj',
    method: 'post',
    data: data
  })
}

// 修改超速次数统计
export function updateCscstj(data) {
  return request({
    url: '/tjbb/bjcx/cscstj',
    method: 'put',
    data: data
  })
}

// 删除超速次数统计
export function delCscstj(id) {
  return request({
    url: '/tjbb/bjcx/cscstj/' + id,
    method: 'delete'
  })
}
